home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3101 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  771 b 

  1. Path: news.bridge.net!news
  2. From: David Byrden <100101.2547@compuserve.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: C++ syntax
  5. Date: 22 Jan 1996 08:50:40 GMT
  6. Organization: self-employed
  7. Message-ID: <4dvj50$460@news.bridge.net>
  8. References: <3102EDDA.45A6@tribeca.ios.com>
  9. NNTP-Posting-Host: ppp-mia1-55.bridge.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
  14.  
  15.  
  16. >> while(next)     // ??
  17.      ...
  18. >>     What does this line mean? How does it work?
  19.  
  20.  
  21. 'while', and the other conditional keywords, take an int value (will be 
  22. bool in the final language). So I guess that Borland's iterator has a 
  23. conversion to int, returning true as long as it points into a container?
  24.  
  25.         David
  26.  
  27.  
  28.  
  29.